Google\Site_Kit\Modules\Analytics_4 D

Total Complexity 264
Dependencies 60
Dependents 5
Total lines 2,350
Lines of code 1,490
Logical lines of code 669
Comment lines 564
Methods 51
Properties 3

Methods 51

Method Rating Maintainability Complexity Lines of code
create_data_request()
D
7
79 475
parse_data_response()
B
33 20 102
register()
B
31 12 137
get_debug_fields()
A
36 13 85
get_custom_dimensions_data()
A
46 12 38
handle_provisioning_callback()
A
42 9 54
has_audience_site_kit_identifier()
A
55 11 19
provision_property_webdatastream()
A
42 6 61
determine_google_tag_id_from_tag_ids()
S
56 7 19
get_datapoint_definitions()
S
38 2 88
get_audience_slug()
S
54 6 25
register_tag()
S
52 6 24
get_audience_type()
S
62 6 13
parse_webdatastreams_batch()
S
57 5 16
print_tracking_opt_out()
S
53 4 24
create_property()
S
56 4 17
get_site_kit_audiences()
S
62 5 10
is_tracking_disabled()
S
62 5 10
check_service_entity_access()
S
58 3 17
is_connected()
S
59 3 15
sync_google_tag_settings()
S
62 3 12
filter_property_with_ids()
S
61 3 12
set_available_audiences()
S
53 2 25
create_webdatastream()
S
55 2 21
is_adsense_connected()
S
68 3 7
filter_analytics_allow_tracking_disabled()
S
67 3 9
inline_resource_availability_dates_data()
S
64 2 11
setup_assets()
S
55 1 22
get_tag_id()
S
69 2 7
inline_custom_dimensions_data()
S
67 2 8
filter_account_with_ids()
S
66 2 8
filter_webdatastream_with_ids()
S
65 2 9
setup_services()
S
61 1 12
get_measurement_id()
S
76 1 4
normalize_property_id()
S
80 1 3
get_google_tag_settings_for_measurement_id()
S
69 1 7
__construct()
S
68 1 6
normalize_account_id()
S
80 1 3
filter_web_datastreams()
S
68 1 8
get_tag_matchers()
S
81 1 3
get_provisioning_redirect_uri()
S
77 1 4
get_analyticsaudiences_service()
S
80 1 3
get_analyticsadsenselinks_service()
S
80 1 3
get_analyticsenhancedmeasurements_service()
S
80 1 3
get_analyticsdata_service()
S
80 1 3
setup_info()
S
65 1 9
get_tagmanager_service()
S
80 1 3
on_deactivation()
S
72 1 6
on_activation()
S
76 1 4
get_scopes()
S
80 1 3
setup_settings()
S
80 1 3